﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace HZ.Supervise.Web.Secondphase.ReportHospital
{
    public partial class HospitalTransition :BasePage
    {
       public string PHospitalId = "";
       public string PEssentialDrugsAmount = "";
       string PAreaId = "";
        protected void Page_Load(object sender, EventArgs e)
        {
            ViewState["query"] = URLUtil.GetSuperviseQueryFromURL(Request);
            PHospitalId = Request.QueryString["PHospitalId"].ToString();
            PEssentialDrugsAmount = Request.QueryString["PEssentialDrugsAmount"].ToString();
            PAreaId = Request.QueryString["PAreaId"].ToString();
            hiddPHospitalId.Value = PHospitalId;
            hiddPEssentialDrugsAmount.Value = PEssentialDrugsAmount;
            hiddPAreaId.Value = PAreaId;
        }

        protected void btnFinish_Click(object sender, EventArgs e)
        {
        
          Response.Redirect(string.Format("hospitalAmountSubsidyDetailUn.aspx?id=1&PEssentialDrugsAmount=" + PEssentialDrugsAmount + "&PAreaId=" + PAreaId + "&PHospitalId=" + PHospitalId), true);
        }

        protected void btnFinish0_Click(object sender, EventArgs e)
        {
          Response.Redirect(string.Format("hospitalAmountSubsidyDetailUn.aspx?id=0&PEssentialDrugsAmount=" + PEssentialDrugsAmount + "&PAreaId=" + PAreaId + "&PHospitalId=" + PHospitalId), true);
        }

        protected void btnFinish1_Click(object sender, EventArgs e)
        {
            Response.Redirect("hospitalAmountSubsidy.aspx", true);
        }
    }
}
